module libeventd.Rpc;

import
	libeventd.Types;

extern(C):

enum EVRPC_HOOK_TYPE {
	EVRPC_INPUT,		/**< apply the function to an input hook */
	EVRPC_OUTPUT		/**< apply the function to an output hook */
}

version(Windows){
	// alias INPUT EVRPC_INPUT;
	// alias OUTPUT EVRPC_OUTPUT ;
}

enum EVRPC_HOOK_RESULT {
	EVRPC_TERMINATE = -1,	/**< indicates the rpc should be terminated */
	EVRPC_CONTINUE = 0,	/**< continue processing the rpc */
	EVRPC_PAUSE = 1		/**< pause processing request until resumed */
}